projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e587d
)
gskrendernodeimpl: Fix leak of cairo_pattern_t
author
Daniel Boles
<dboles@src.gnome.org>
Thu, 3 Aug 2017 23:18:13 +0000
(
00:18
+0100)
committer
Daniel Boles
<dboles@src.gnome.org>
Thu, 3 Aug 2017 23:59:33 +0000
(
00:59
+0100)
It was not destroyed after setting it on the cairo_context_t, as it is
in every other case.
https://bugzilla.gnome.org/show_bug.cgi?id=785793
gsk/gskrendernodeimpl.c
patch
|
blob
|
history
diff --git
a/gsk/gskrendernodeimpl.c
b/gsk/gskrendernodeimpl.c
index ae854bfbc7a4076386eb46a861353be336755200..996f270ea43fc86e54a34067ef266c1de3987fa1 100644
(file)
--- a/
gsk/gskrendernodeimpl.c
+++ b/
gsk/gskrendernodeimpl.c
@@
-2558,6
+2558,7
@@
gsk_color_matrix_node_draw (GskRenderNode *node,
cairo_paint (cr);
cairo_restore (cr);
+ cairo_pattern_destroy (pattern);
}
#define GSK_COLOR_MATRIX_NODE_VARIANT_TYPE "(dddddddddddddddddddduv)"